'use strict';

const { Controller} = require('egg');

class SearchController extends Controller {
  async result() {
    const { ctx } = this;
    ctx.body = {
      name:  `result: ${ctx.query.name}`
    };
  }
}

module.exports = SearchController;
